package pojo;

import java.io.Serializable;

public class Topic implements Serializable {
	
	private String tname;
	
	private Integer tid;
	
	public Topic(String tname, Integer tid) {
		super();
		this.tname = tname;
		this.tid = tid;
	}

	public Topic() {
		super();
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}
	
	
}
